from typing import Union

from pydantic import Field

from app.schemas.common import DateTimeModelMixin


class Condition(DateTimeModelMixin):
    uid: Union[int, None] = Field(description="用户ID")
    age: int
    city: int
    education: int
    height: int
    income: int
    city: int

    class Config:
        orm_mode = True
